package SystemManagement;

import RecordManagement.ScanType;
import Type.*;
import Const.*;

public class DataAttrInfo_relcat {
	public DataAttrInfo relcat[] = new DataAttrInfo[3];
	int attr_count = 3;
	
	public DataAttrInfo_relcat(){
		Constant c = new Constant();
		
		relcat[0] = new DataAttrInfo();
		relcat[0].relName = "relcat";
		relcat[0].attrName = "relName";
		relcat[0].attrType = ScanType.TYPE_STRING;
		relcat[0].attrLength = c.MAXNAME;
		relcat[0].offset = 0;
		
		relcat[1] = new DataAttrInfo();
		relcat[1].relName = "relcat";
		relcat[1].attrName = "tupleLength";
		relcat[1].attrType = ScanType.TYPE_INT;
		relcat[1].attrLength = c.INTSIZE;
		relcat[1].offset = c.MAXNAME;
		
		relcat[2] = new DataAttrInfo();
		relcat[2].relName = "relcat";
		relcat[2].attrName = "attr_Count";
		relcat[2].attrType = ScanType.TYPE_INT;
		relcat[2].attrLength = c.INTSIZE;
		relcat[2].offset = c.MAXNAME+c.INTSIZE;
	}
}
